Skip to content

Implement MX conductor with multiple scattering#1991

Merged
lgritz merged 1 commit into
AcademySoftwareFoundation:mainfrom
aconty:libbsdl
Jun 6, 2025
Merged

Implement MX conductor with multiple scattering#1991
lgritz merged 1 commit into
AcademySoftwareFoundation:mainfrom
aconty:libbsdl

Conversation

@aconty

@aconty aconty commented Jun 4, 2025

Copy link
Copy Markdown
Contributor

Description

This moves the BSDF to libbsdl so we use the albedo tables infrastructure. Adds roughness regularization and energy compensation (multiple scattering, Turquin style).

I removed the thinfilm options that were not implemented and don't exist in the MaterialX spec. Also I propose thinfilm to be implemented as a decoration via vertical layering so we don't repeat the parameters in every BSDF/closure. But that would be a separate issue.

Here's a roughness wedge. It is not testrender but it is the same BSDF code verbatim.

conductor_vd8

Tests

Conductor tests pass and are now cleaner.

Checklist:

  • I have read the contribution guidelines.
  • I have updated the documentation, if applicable.
  • I have ensured that the change is tested somewhere in the testsuite (adding new test cases if necessary).
  • My code follows the prevailing code style of this project. If I haven't
    already run clang-format v17 before submitting, I definitely will look at
    the CI test that runs clang-format and fix anything that it highlights as
    being nonconforming.

This moves the BSDF to libbsdl so we use the albedo tables
infrastructure. Adds roughness regularization and energy
compensation (multiple scattering, Turquin style).

I removed the thinfilm options that were not implemented and
don't exist in the MaterialX spec. Also I propose thinfilm to
be implemented as a decoration via vertical layering so we
don't repeat the parameters in every BSDF/closure.

Signed-off-by: Alejandro Conty <aconty@imageworks.com>

@lgritz lgritz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Anybody else have comments?

@fpsunflower fpsunflower left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM2

@lgritz
lgritz merged commit 36b1452 into AcademySoftwareFoundation:main Jun 6, 2025
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants